package cloud.shyidong.tenant.service;

import cloud.shyidong.core.Result;
import cloud.shyidong.tenant.request.TenantInfoUpdatePasswordRequest;
import cloud.shyidong.tenant.request.TenantInfoUpdateRequest;

/**
 * @Description TODO
 * @Author syd
 * @Date 2023/8/25
 */
public interface SelfService {
    
    Result getAuthInfo();
    
    Result getTreeList();
    
    Result update(TenantInfoUpdateRequest tenantInfoUpdateRequest);
    
    Result updatePassword(TenantInfoUpdatePasswordRequest tenantInfoUpdatePasswordRequest);
    
    Result logout();
    
    /**
     * 获取租户认证信息
     *
     * @return
     */
    Result getTenant();
}
